/**
 * 
 */

package com.pp.admin.login.client;

import com.google.gwt.dom.client.Style.Unit;
import com.google.gwt.user.client.ui.DockLayoutPanel;
import com.pp.admin.common.client.FooterPanel;
import com.pp.admin.common.client.FooterParent;
import com.pp.admin.common.client.i18.I18;

/**
 * @author pandurang
 */
public class BasePage extends DockLayoutPanel implements I18, FooterParent, LoginHeaderParent {
	
	protected Login				parent		= null;
	
	protected HeaderPanel		header		= null;
	
	protected FooterPanel		footer		= null;
	
	protected static final int	LABEL_COL	= 0;
	
	protected static final int	FLD_COL		= 1;
	
	/**
	 * @param unit
	 */
	public BasePage( Unit unit, Login parent ) {

		super( unit );
		this.parent = parent;
		header = new HeaderPanel( this );
		addNorth( header, 5 );
		footer = new FooterPanel( this );
		addSouth( footer, 2 );
		// addWest(new HTML("navigation"), 10);
	}
	
}
